#!/bin/bash

sudo apt update -y
sudo apt install -y ros-$ROS_DISTRO-gazebo-ros-pkgs
sudo apt install -y ros-$ROS_DISTRO-gazebo-plugins

# turtlebot3
# sudo apt install -y ros-$ROS_DISTRO-turtlebot3-gazebo
sudo apt install -y ros-$ROS_DISTRO-slam-toolbox
sudo apt install -y ros-$ROS_DISTRO-teleop-twist-keyboard
sudo apt install -y ros-$ROS_DISTRO-navigation2
sudo apt install -y ros-$ROS_DISTRO-nav2-bringup
sudo apt install -y ros-$ROS_DISTRO-ros2-control
sudo apt install -y ros-$ROS_DISTRO-ros2-controllers
sudo apt install -y ros-$ROS_DISTRO-gazebo-ros2-control
sudo apt install -y ros-$ROS_DISTRO-geometry-msgs
## 发布机器人
sudo apt install ros-$ROS_DISTRO-robot-state-publisher
sudo apt install ros-$ROS_DISTRO-joint-state-publisher-gui

sudo apt install -y ros-$ROS_DISTRO-xacro
sudo apt install -y ros-dev-tools
sudo apt install -y python3-pip
sudo apt install -y python3-colcon-common-extensions
sudo apt install -y python3-argcomplete

sudo apt install -y ros-$ROS_DISTRO-rclcpp-action 
sudo apt install -y ros-$ROS_DISTRO-nav2-msgs
sudo apt install -y ros-$ROS_DISTRO-tf2
sudo apt install -y ros-$ROS_DISTRO-tf2-ros
# rqt
sudo apt install -y ros-$ROS_DISTRO-mrpt2 
sudo apt install -y ros-$ROS_DISTRO-rqt-tf-tree 
sudo apt install -y ros-$ROS_DISTRO-tf-transformations
rm -rf ~/.config/ros.org/rqt_gui.ini

## opencv
sudo apt install -y libopencv-dev
## 深度相机
# sudo apt install -y ros-humble-camera-info-manager
# sudo apt install -y ros-humble-image-transport 
## pcl
sudo apt install -y libpcl-dev
sudo apt install -y ros-$ROS_DISTRO-pcl-ros
sudo apt install -y ros-$ROS_DISTRO-pcl-conversions
sudo apt install -y pcl-tools
